<template>
    <div class="user-bottom">
        <section class="box">
            <div style="width: 1000px;margin: 0 auto;">
                <div>
                    <div class="container m-t-lg">
                        <div class="rm_link">
                            <strong style="font-size: 18px;"><b>友情链接</b></strong>
                            <div style="background-color: #f6f6f6; padding: 20px; overflow: hidden;">
                                <span style="font-size:16px;color: #333;line-height: 22px;padding-right: 40px;"
                                    v-for="(i, v) in list" :key="v">
                                    <a :href="i.url" target="_blank">{{ i.title }}</a>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <p style="font-size: 16px;text-align: center;line-height: 22px;">Copyright ©2024 All Rights
                            Reserved </p>
                    </div>
                </div>
            </div>
        </section>
    </div>

</template>

<script>
export default {
    name: "XjBottom",
    data() {
        return {
            // 选中菜单
            activeIndex: 'second',
            list: [],
        }
    },

    methods: {
        handleSelect(key, keyPath) {

        },
        gotoForum() {
            window.open('http://117.34.99.190:8333/', '_blank');
        }
    },
    created() {
        this.crud.get("/link/list").then(res => {
            this.list = res.data.data;
        })
        this.userData = JSON.parse(sessionStorage.getItem("userData"))
    },
}

</script>


<style scoped>
.box {
    background-color: #f6f6f6;
    padding: 20px 0;

    p {
        font-size: 14px;
    }
}
</style>